using System;
using System.Collections.Generic;
using System.Text;

namespace ClientTools.Library.Macros
{
    public class MacroProperty
    {
        public MacroProperty() { }
        public MacroProperty(umbraco.cms.businesslogic.macro.MacroProperty umbracoMacroProperty) 
        {
            this._alias = umbracoMacroProperty.Alias;
            this._name = umbracoMacroProperty.Name;
            this._public = umbracoMacroProperty.Public;
            this._sortOrder = umbracoMacroProperty.SortOrder;
            this._type = umbracoMacroProperty.Type.Alias;
        }

        private string _alias;

        public string Alias
        {
            get { return _alias; }
            set { _alias = value; }
        }

        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private int _sortOrder;

        public int SortOrder
        {
            get { return _sortOrder; }
            set { _sortOrder = value; }
        }

        private bool _public;

        public bool Public
        {
            get { return _public; }
            set { _public = value; }
        }

        private string _type;

        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }
	
	
    }
}
